package com.glink.manage.domain;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
* @author  qiushaoshan
* @since 2025-02-19
*/
@EqualsAndHashCode(callSuper = true)
@ApiModel(value="WeatherBean对象", description="施工工程-工程现场-天气")
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("weather")
public class WeatherBean extends Model<WeatherBean> {

    private static final long serialVersionUID = 6109045804092334158L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "obj_id")
    private String objId;

    @ApiModelProperty(value = "地名")
    private String area;

    @ApiModelProperty(value = "地区")
    private String distric;

    @ApiModelProperty(value = "城市所在省")
    private String prov;

    @ApiModelProperty(value = "地区code")
    private String areaCode;

    @ApiModelProperty(value = "地名id")
    private String areaid;

//    @ApiModelProperty(value = "全量文本")
//    private String detailText;

    @ApiModelProperty(value = "空气指数")
    private String aqi;

    @ApiModelProperty(value = "空气湿度")
    private String sd;

    @ApiModelProperty(value = "气温")
    private String temperature;

    @ApiModelProperty(value = "获得气温的时间:15:00")
    private String temperatureTime;

    @ApiModelProperty(value = "阴")
    private String weather;

    @ApiModelProperty(value = "天气小图标")
    private String weatherPic;

    @ApiModelProperty(value = "风向:南风")
    private String windDirection;

    @ApiModelProperty(value = "风力:1级")
    private String windPower;

    @ApiModelProperty(value = "白天天气温度(摄氏度):26")
    private String dayAirTemperature;

    @ApiModelProperty(value = "晚上天气温度(摄氏度):12")
    private String nightAirTemperature;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;
}
